package com.efast.dmom.mgmt.service.master.impl;
import java.util.List;

import com.efast.dmom.mgmt.dao.master.TmBasPartSnDao;
import com.efast.dmom.mgmt.entity.master.TmBasPartSn;
import com.efast.dmom.mgmt.service.master.TmBasPartSnService;
import com.efast.dmom.mgmt.utils.Assist;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class TmBasPartSnServiceImpl implements TmBasPartSnService{
    @Autowired
    private TmBasPartSnDao tmBasPartSnDao;
    @Override
    public long getTmBasPartSnRowCount(Assist assist){
        return tmBasPartSnDao.getTmBasPartSnRowCount(assist);
    }
    @Override
    public List<TmBasPartSn> selectTmBasPartSn(Assist assist){
        return tmBasPartSnDao.selectTmBasPartSn(assist);
    }
    @Override
    public TmBasPartSn selectTmBasPartSnByObj(TmBasPartSn obj){
        return tmBasPartSnDao.selectTmBasPartSnByObj(obj);
    }
    @Override
    public TmBasPartSn selectTmBasPartSnById(Integer id){
        return tmBasPartSnDao.selectTmBasPartSnById(id);
    }
    @Override
    public int insertTmBasPartSn(TmBasPartSn value){
        return tmBasPartSnDao.insertTmBasPartSn(value);
    }
    @Override
    public int insertNonEmptyTmBasPartSn(TmBasPartSn value){
        return tmBasPartSnDao.insertNonEmptyTmBasPartSn(value);
    }
    @Override
    public int insertTmBasPartSnByBatch(List<TmBasPartSn> value){
        return tmBasPartSnDao.insertTmBasPartSnByBatch(value);
    }
    @Override
    public int deleteTmBasPartSnById(Integer id){
        return tmBasPartSnDao.deleteTmBasPartSnById(id);
    }
    @Override
    public int deleteTmBasPartSn(Assist assist){
        return tmBasPartSnDao.deleteTmBasPartSn(assist);
    }
    @Override
    public int updateTmBasPartSnById(TmBasPartSn enti){
        return tmBasPartSnDao.updateTmBasPartSnById(enti);
    }
    @Override
    public int updateTmBasPartSn(TmBasPartSn value, Assist assist){
        return tmBasPartSnDao.updateTmBasPartSn(value,assist);
    }
    @Override
    public int updateNonEmptyTmBasPartSnById(TmBasPartSn enti){
        return tmBasPartSnDao.updateNonEmptyTmBasPartSnById(enti);
    }
    @Override
    public int updateNonEmptyTmBasPartSn(TmBasPartSn value, Assist assist){
        return tmBasPartSnDao.updateNonEmptyTmBasPartSn(value,assist);
    }

    public TmBasPartSnDao getTmBasPartSnDao() {
        return this.tmBasPartSnDao;
    }

    public void setTmBasPartSnDao(TmBasPartSnDao tmBasPartSnDao) {
        this.tmBasPartSnDao = tmBasPartSnDao;
    }

}